<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8"/>
    <title>菜单</title>
    <meta name="renderer" content="webkit"/>
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
    <meta http-equiv="Access-Control-Allow-Origin" content="*"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/>
    <meta name="apple-mobile-web-app-status-bar-style" content="black"/>
    <meta name="apple-mobile-web-app-capable" content="yes"/>
    <meta name="format-detection" content="telephone=no"/>
    <link rel="stylesheet" type="text/css" media="all"
          th:href="@{/plugins/layui/css/layui.css}" />
</head>
<body>
<blockquote class="layui-elem-quote">
    <div class="layui-inline">
        <div class="layui-input-inline">
            <input type="text" value="" id="searchValue" placeholder="请输入关键字" class="layui-input search_input"/>
        </div>
        <a class="layui-btn search_btn" data-type="reload">查询</a>
    </div>
    <div class="layui-inline">
        <a class="layui-btn layui-btn-normal newsAdd_btn">添加菜单</a>
    </div>
    <div class="layui-inline">
        <a class="layui-btn"  data-type="getCheckData">批量删除</a>
    </div>
<!--    <div class="layui-inline">
        <a class="layui-btn recommend" style="background-color:#5FB878">推荐文章</a>
    </div>
    <div class="layui-inline">
        <a class="layui-btn audit_btn">审核文章</a>
    </div>
    <div class="layui-inline">
        <a class="layui-btn layui-btn-danger batchDel">批量删除</a>
    </div>
    <div class="layui-inline">
        <div class="layui-form-mid layui-word-aux">本页面刷新后除新添加的文章外所有操作无效，关闭页面所有数据重置</div>
    </div>-->

</blockquote>
<table class="layui-table" id="menuTable" lay-filter="menuTable">

</table>

<script th:src="@{/plugins/jQuery/jquery.min.js}" type="text/javascript" charset="utf-8"></script>
<script th:src="@{/plugins/layui/layui.js}" type="text/javascript" charset="utf-8"></script>
<script th:src="@{/js/permissions/menu.js}" type="text/javascript" charset="utf-8"></script>
<script type="text/html" id="spread">
    <!-- 这里的 checked 的状态只是演示 -->
    <input type="checkbox" name="spread"  lay-skin="switch" lay-text="展开|关闭" lay-filter="sexDemo" value="{{ d.spread == 0 ? 'checked' : '' }}" />
</script>

<script type="text/html" id="status">
    <!-- 这里的 checked 的状态只是演示 -->
    <input type="checkbox" name="status"  title="停用" lay-filter="lockDemo" value="{{ d.status == 1 ? 'checked' : '' }}" />
</script>

<script type="text/html" id="barDemo">
    <a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="detail"><i class="iconfont layui-extend-add"></i></a>
    <a class="layui-btn layui-btn-xs" lay-event="edit"><i class="iconfont layui-extend-task"></i></a>
    <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del"><i class="iconfont layui-extend-empty"></i></a>
</script>
</body>
</html>